﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="login.aspx.cs" Inherits="CMS.login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Hệ thống quản trị nội dung - Đăng nhập</title>
    <link href="css/rounded.css" rel="stylesheet" type="text/css" />
    <link href="css/login.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript">
        if (document.all)
        {     
        document.onkeydown = function ()
        {     var key_enter= 13; // 13 = Enter   
              if (key_enter==event.keyCode)
             {
                 event.keyCode=0;
             document.getElementById('imgLogIn').click();          
             return false;
             } 
            }
        }
    </script>

</head>
<body onload="javascript:document.form1.txtUserName.focus();">
    <form id="form1" runat="server">
        <br />
        <br />
        <br />
        <div class="padding">
            <div id="element-box" class="login">
                <div class="t">
                    <div class="t">
                        <div class="t">
                        </div>
                    </div>
                </div>
                <div class="m">
                    <p align="center">
                        <asp:Label ID="lblErrorMessage" runat="server" Text="" BackColor="Transparent" ForeColor="Red"></asp:Label></p>
                    <h1>
                        Đăng nhập hệ thống</h1>
                    <div id="section-box">
                        <div class="t">
                            <div class="t">
                                <div class="t">
                                </div>
                            </div>
                        </div>
                        <div class="m">
                            <p id="form-login-username">
                                <asp:Label ID="Label1" runat="server" Text="Tên đăng nhập"></asp:Label>&nbsp;
                                <asp:TextBox ID="txtUserName" Style="width: 142px;" runat="server"></asp:TextBox>
                            </p>
                            <p id="form-login-password">
                                <asp:Label ID="Label2" runat="server" Text="Mật khẩu"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:TextBox ID="txtPassword" runat="server" Style="width: 142px;" TextMode="Password"></asp:TextBox>
                            </p>
                            <div style="padding-left: 180px;">
                                <asp:ImageButton ID="imgLogIn" runat="server" ImageUrl="images/bttn_login.gif" OnClick="imgLogIn_Click" />
                                <div class="button1-left">
                                </div>
                            </div>
                            <div class="clr">
                            </div>
                            <div class="clr">
                            </div>
                        </div>
                        <div class="b">
                            <div class="b">
                                <div class="b">
                                </div>
                            </div>
                        </div>
                    </div>
                    <p>
                        Bạn vui lòng nhập đúng username và password để đăng nhập!
                    </p>
                    <p>
                        <a href="../default.aspx">Quay lại trang chủ</a>
                    </p>
                    <div id="lock">
                    </div>
                    <div class="clr">
                    </div>
                </div>
                <div class="b">
                    <div class="b">
                        <div class="b">
                        </div>
                    </div>
                </div>
                <div style="text-align: center;">
                    <br />
                    <strong style="font-weight: bold; color: green;">© Copyright 2012 - dvmobico</strong>
                    <br />
                    Sử dụng tốt nhất trên trình duyệt Internet Exploer
                </div>
            </div>
            <div class="clr">
            </div>
        </div>
    </form>
</body>
</html>
